// 码农果蔬相关
import request from "@/utils/request";

export function saveInvestigate_survey(data) {
  return request({
    url: "/api/saveInvestigate_survey",
    method: "post",
    data,
  });
}

export function getInvestigate_surveyData(data) {
  return request({
    url: "/api/getInvestigate_surveyData",
    method: "post",
    data,
  });
}

export function deleteInvestigate_survey(data) {
  return request({
    url: "/api/deleteInvestigate_survey",
    method: "post",
    data,
  });
}

export function addCommodity(data) {
  return request({
    url: "/api/addCommodity",
    method: "post",
    data,
  });
}

export function getCommodityList(data) {
  return request({
    url: "/api/getCommodityList",
    method: "post",
    data,
  });
}

export function deleteCommodity(data) {
  return request({
    url: "/api/deleteCommodity",
    method: "post",
    data,
  });
}
